
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module stackexchange</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>stackexchange</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:///O|/docs/py-stackexchange/stackexchange.py">o:\docs\py-stackexchange\stackexchange.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="datetime.html">datetime</a><br>
<a href="httplib.html">httplib</a><br>
</td><td width="25%" valign=top><a href="json.html">json</a><br>
<a href="operator.html">operator</a><br>
</td><td width="25%" valign=top><a href="urllib2.html">urllib2</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#list">__builtin__.list</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#StackExchangeLazySequence">StackExchangeLazySequence</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#Enumeration">Enumeration</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#BadgeType">BadgeType</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#PostType">PostType</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#UserType">UserType</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="stackexchange.html#Favorite">Favorite</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#JSONModel">JSONModel</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#Answer">Answer</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Badge">Badge</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Comment">Comment</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Question">Question</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#User">User</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="stackexchange.html#LazyTimeline">LazyTimeline</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Mention">Mention</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#RepChange">RepChange</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Site">Site</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#Tag">Tag</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#tuple">__builtin__.tuple</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#StackExchangeResultset">StackExchangeResultset</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="stackexchange.html#NeedsAwokenError">NeedsAwokenError</a>
</font></dt><dt><font face="helvetica, arial"><a href="stackexchange.html#StackExchangeError">StackExchangeError</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="stackexchange.html#DictObject">DictObject</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Answer">class <strong>Answer</strong></a>(<a href="stackexchange.html#JSONModel">JSONModel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;an&nbsp;answer&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#Answer">Answer</a></dd>
<dd><a href="stackexchange.html#JSONModel">JSONModel</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Answer-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="Answer-__unicode__"><strong>__unicode__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>owner</strong></dt>
</dl>
<dl><dt><strong>question</strong></dt>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>transfer</strong> = ('accepted', 'locked_date', 'question_id', 'up_vote_count', 'down_vote_count', 'view_count', 'score', 'community_owned', 'title', 'body')</dl>

<hr>
Methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Answer-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="Answer-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Answer-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Badge">class <strong>Badge</strong></a>(<a href="stackexchange.html#JSONModel">JSONModel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;a&nbsp;badge&nbsp;awardable&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#Badge">Badge</a></dd>
<dd><a href="stackexchange.html#JSONModel">JSONModel</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Badge-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>transfer</strong> = ('name', 'description', 'award_count', 'tag_based')</dl>

<hr>
Methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Badge-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="Badge-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Badge-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BadgeType">class <strong>BadgeType</strong></a>(<a href="stackexchange.html#Enumeration">Enumeration</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;the&nbsp;rank&nbsp;or&nbsp;type&nbsp;of&nbsp;a&nbsp;badge:&nbsp;one&nbsp;of&nbsp;Bronze,&nbsp;Silver&nbsp;or&nbsp;Gold.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#BadgeType">BadgeType</a></dd>
<dd><a href="stackexchange.html#Enumeration">Enumeration</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>Bronze</strong> = 0</dl>

<dl><dt><strong>Gold</strong> = 2</dl>

<dl><dt><strong>Silver</strong> = 1</dl>

<hr>
Class methods inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><a name="BadgeType-from_string"><strong>from_string</strong></a>(cls, text, typ<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Comment">class <strong>Comment</strong></a>(<a href="stackexchange.html#JSONModel">JSONModel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;a&nbsp;comment&nbsp;to&nbsp;a&nbsp;question&nbsp;or&nbsp;answer&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#Comment">Comment</a></dd>
<dd><a href="stackexchange.html#JSONModel">JSONModel</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Comment-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="Comment-__unicode__"><strong>__unicode__</strong></a>(self)</dt></dl>

<dl><dt><a name="Comment-get_post"><strong>get_post</strong></a>(self)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>transfer</strong> = ('post_id', 'score', 'edit_count', 'body')</dl>

<hr>
Methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Comment-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="Comment-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Comment-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="DictObject">class <strong>DictObject</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>####&nbsp;Hack,&nbsp;because&nbsp;I&nbsp;can't&nbsp;be&nbsp;bothered&nbsp;to&nbsp;fix&nbsp;my&nbsp;mistaking&nbsp;JSON's&nbsp;output&nbsp;for&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;not&nbsp;a&nbsp;dict<br>
#&nbsp;Attrib:&nbsp;Eli&nbsp;Bendersky,&nbsp;<a href="http://stackoverflow.com/questions/1305532/convert-python-dict-to-object/1305663#1305663">http://stackoverflow.com/questions/1305532/convert-python-dict-to-object/1305663#1305663</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="DictObject-__init__"><strong>__init__</strong></a>(self, entries)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Enumeration">class <strong>Enumeration</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Provides&nbsp;a&nbsp;base&nbsp;class&nbsp;for&nbsp;enumeration&nbsp;classes.&nbsp;(Similar&nbsp;to&nbsp;'enum'&nbsp;types&nbsp;in&nbsp;other&nbsp;languages.)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Class methods defined here:<br>
<dl><dt><a name="Enumeration-from_string"><strong>from_string</strong></a>(cls, text, typ<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Favorite">class <strong>Favorite</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="JSONModel">class <strong>JSONModel</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;base&nbsp;class&nbsp;of&nbsp;all&nbsp;the&nbsp;objects&nbsp;which&nbsp;describe&nbsp;API&nbsp;objects&nbsp;directly&nbsp;-&nbsp;ie,&nbsp;those&nbsp;which&nbsp;take&nbsp;JSON&nbsp;objects&nbsp;as&nbsp;parameters&nbsp;to&nbsp;their&nbsp;constructor.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="JSONModel-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="JSONModel-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods defined here:<br>
<dl><dt><a name="JSONModel-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LazyTimeline">class <strong>LazyTimeline</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Provides&nbsp;an&nbsp;interface&nbsp;to&nbsp;event&nbsp;timelines,&nbsp;such&nbsp;as&nbsp;the&nbsp;user&nbsp;reputation&nbsp;timeline.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="LazyTimeline-__init__"><strong>__init__</strong></a>(self, user, url, fetched)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Mention">class <strong>Mention</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#####&nbsp;Users&nbsp;####<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="NeedsAwokenError">class <strong>NeedsAwokenError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;error&nbsp;raised&nbsp;when&nbsp;an&nbsp;attempt&nbsp;is&nbsp;made&nbsp;to&nbsp;access&nbsp;a&nbsp;property&nbsp;of&nbsp;a&nbsp;lazy&nbsp;collection&nbsp;that&nbsp;requires&nbsp;the&nbsp;data&nbsp;to&nbsp;have&nbsp;been&nbsp;fetched,<br>
but&nbsp;whose&nbsp;data&nbsp;has&nbsp;not&nbsp;yet&nbsp;been&nbsp;requested.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#NeedsAwokenError">NeedsAwokenError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NeedsAwokenError-__init__"><strong>__init__</strong></a>(self, lazy)</dt></dl>

<dl><dt><a name="NeedsAwokenError-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x1E1F53A8&gt;<dd><tt>T.<a href="#NeedsAwokenError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="NeedsAwokenError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="NeedsAwokenError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NeedsAwokenError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="NeedsAwokenError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="NeedsAwokenError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PostType">class <strong>PostType</strong></a>(<a href="stackexchange.html#Enumeration">Enumeration</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Denotes&nbsp;the&nbsp;type&nbsp;of&nbsp;a&nbsp;post:&nbsp;a&nbsp;question&nbsp;or&nbsp;an&nbsp;answer.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#PostType">PostType</a></dd>
<dd><a href="stackexchange.html#Enumeration">Enumeration</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>Answer</strong> = 1</dl>

<dl><dt><strong>Question</strong> = 0</dl>

<hr>
Class methods inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><a name="PostType-from_string"><strong>from_string</strong></a>(cls, text, typ<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Question">class <strong>Question</strong></a>(<a href="stackexchange.html#JSONModel">JSONModel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;a&nbsp;question&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#Question">Question</a></dd>
<dd><a href="stackexchange.html#JSONModel">JSONModel</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>transfer</strong> = ('tags', 'favorite_count', 'up_vote_count', 'down_vote_count', 'view_count', 'score', 'community_owned', 'title', 'body')</dl>

<hr>
Methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Question-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="Question-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="Question-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RepChange">class <strong>RepChange</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Site">class <strong>Site</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Stores&nbsp;information&nbsp;and&nbsp;provides&nbsp;methods&nbsp;to&nbsp;access&nbsp;data&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.&nbsp;This&nbsp;class&nbsp;is&nbsp;the&nbsp;'root'&nbsp;of&nbsp;the&nbsp;API&nbsp;-&nbsp;all&nbsp;data&nbsp;is&nbsp;accessed<br>
through&nbsp;here.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Site-__init__"><strong>__init__</strong></a>(self, domain, app_key<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="Site-all_badges"><strong>all_badges</strong></a>(self, **kw)</dt><dd><tt>Returns&nbsp;the&nbsp;set&nbsp;of&nbsp;all&nbsp;the&nbsp;badges&nbsp;which&nbsp;can&nbsp;be&nbsp;awarded&nbsp;on&nbsp;the&nbsp;site,&nbsp;excluding&nbsp;those&nbsp;which&nbsp;are&nbsp;awarded&nbsp;for&nbsp;specific&nbsp;tags.</tt></dd></dl>

<dl><dt><a name="Site-all_tag_badges"><strong>all_tag_badges</strong></a>(self, **kw)</dt><dd><tt>Returns&nbsp;the&nbsp;set&nbsp;of&nbsp;all&nbsp;the&nbsp;tag-based&nbsp;badges:&nbsp;those&nbsp;which&nbsp;are&nbsp;awarded&nbsp;for&nbsp;performance&nbsp;on&nbsp;a&nbsp;specific&nbsp;tag.</tt></dd></dl>

<dl><dt><a name="Site-answer"><strong>answer</strong></a>(self, nid, **kw)</dt><dd><tt>Retrieves&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;describing&nbsp;the&nbsp;answer&nbsp;with&nbsp;the&nbsp;ID&nbsp;`nid`.</tt></dd></dl>

<dl><dt><a name="Site-answers"><strong>answers</strong></a>(self, ids, **kw)</dt><dd><tt>Retrieves&nbsp;a&nbsp;set&nbsp;of&nbsp;the&nbsp;answers&nbsp;with&nbsp;the&nbsp;IDs&nbsp;specified&nbsp;in&nbsp;the&nbsp;'ids'&nbsp;parameter.</tt></dd></dl>

<dl><dt><a name="Site-badge"><strong>badge</strong></a>(self, nid, **kw)</dt><dd><tt>Returns&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;representing&nbsp;the&nbsp;badge&nbsp;with&nbsp;the&nbsp;ID&nbsp;'nid'.</tt></dd></dl>

<dl><dt><a name="Site-badges"><strong>badges</strong></a>(self, ids, **kw)</dt><dd><tt>Returns&nbsp;information&nbsp;on&nbsp;the&nbsp;badges&nbsp;with&nbsp;the&nbsp;IDs&nbsp;specified&nbsp;in&nbsp;the&nbsp;'ids'&nbsp;parameter.</tt></dd></dl>

<dl><dt><a name="Site-be_inclusive"><strong>be_inclusive</strong></a>(self)</dt><dd><tt>Include&nbsp;the&nbsp;body&nbsp;and&nbsp;comments&nbsp;of&nbsp;a&nbsp;post,&nbsp;where&nbsp;appropriate,&nbsp;by&nbsp;default.</tt></dd></dl>

<dl><dt><a name="Site-build"><strong>build</strong></a>(self, url, typ, collection, kw<font color="#909090">={}</font>)</dt><dd><tt>Builds&nbsp;a&nbsp;<a href="#StackExchangeResultset">StackExchangeResultset</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;from&nbsp;the&nbsp;given&nbsp;URL&nbsp;and&nbsp;type.</tt></dd></dl>

<dl><dt><a name="Site-build_from_snippet"><strong>build_from_snippet</strong></a>(self, json, typ)</dt></dl>

<dl><dt><a name="Site-comment"><strong>comment</strong></a>(self, nid, **kw)</dt><dd><tt>Retrieves&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;representing&nbsp;a&nbsp;comment&nbsp;with&nbsp;the&nbsp;ID&nbsp;`nid`.</tt></dd></dl>

<dl><dt><a name="Site-comments"><strong>comments</strong></a>(self, ids, **kw)</dt><dd><tt>Retrieves&nbsp;a&nbsp;set&nbsp;of&nbsp;the&nbsp;comments&nbsp;with&nbsp;the&nbsp;IDs&nbsp;specified&nbsp;in&nbsp;the&nbsp;'ids'&nbsp;parameter.</tt></dd></dl>

<dl><dt><a name="Site-question"><strong>question</strong></a>(self, nid, **kw)</dt><dd><tt>Retrieves&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;representing&nbsp;a&nbsp;question&nbsp;with&nbsp;the&nbsp;ID&nbsp;`nid`.&nbsp;Note&nbsp;that&nbsp;an&nbsp;answer&nbsp;ID&nbsp;can&nbsp;not&nbsp;be&nbsp;specified&nbsp;-<br>
unlike&nbsp;on&nbsp;the&nbsp;actual&nbsp;site,&nbsp;you&nbsp;will&nbsp;receive&nbsp;an&nbsp;error&nbsp;rather&nbsp;than&nbsp;a&nbsp;redirect&nbsp;to&nbsp;the&nbsp;actual&nbsp;question.</tt></dd></dl>

<dl><dt><a name="Site-questions"><strong>questions</strong></a>(self, ids, **kw)</dt><dd><tt>Retrieves&nbsp;a&nbsp;set&nbsp;of&nbsp;the&nbsp;comments&nbsp;with&nbsp;the&nbsp;IDs&nbsp;specified&nbsp;in&nbsp;the&nbsp;'ids'&nbsp;parameter.</tt></dd></dl>

<dl><dt><a name="Site-recent_questions"><strong>recent_questions</strong></a>(self, **kw)</dt><dd><tt>Returns&nbsp;the&nbsp;set&nbsp;of&nbsp;the&nbsp;most&nbsp;recent&nbsp;questions&nbsp;on&nbsp;the&nbsp;site,&nbsp;by&nbsp;last&nbsp;activity.</tt></dd></dl>

<dl><dt><a name="Site-user"><strong>user</strong></a>(self, nid, **kw)</dt><dd><tt>Retrieves&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;representing&nbsp;the&nbsp;user&nbsp;with&nbsp;the&nbsp;ID&nbsp;`nid`.</tt></dd></dl>

<dl><dt><a name="Site-users"><strong>users</strong></a>(self, ids, **kw)</dt><dd><tt>Retrieves&nbsp;a&nbsp;<a href="__builtin__.html#list">list</a>&nbsp;of&nbsp;the&nbsp;users&nbsp;with&nbsp;the&nbsp;IDs&nbsp;specified&nbsp;in&nbsp;the&nbsp;`ids'&nbsp;parameter.</tt></dd></dl>

<dl><dt><a name="Site-users_with_badge"><strong>users_with_badge</strong></a>(self, bid, **kw)</dt><dd><tt>Returns&nbsp;the&nbsp;set&nbsp;of&nbsp;all&nbsp;the&nbsp;users&nbsp;who&nbsp;have&nbsp;been&nbsp;awarded&nbsp;the&nbsp;badge&nbsp;with&nbsp;the&nbsp;ID&nbsp;'bid'.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>URL_Roots</strong> = {&lt;class 'stackexchange.User'&gt;: 'users/%s', &lt;class 'stackexchange.Answer'&gt;: 'answers/%s', &lt;class 'stackexchange.Question'&gt;: 'questions/%s', &lt;class 'stackexchange.Comment'&gt;: 'comments/%s', &lt;class 'stackexchange.Badge'&gt;: 'badges/%s'}</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="StackExchangeError">class <strong>StackExchangeError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;generic&nbsp;error&nbsp;thrown&nbsp;on&nbsp;a&nbsp;bad&nbsp;HTTP&nbsp;request&nbsp;during&nbsp;a&nbsp;StackExchange&nbsp;API&nbsp;request.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#StackExchangeError">StackExchangeError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="StackExchangeError-__init__"><strong>__init__</strong></a>(self, urlerror)</dt></dl>

<dl><dt><a name="StackExchangeError-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x1E1F53A8&gt;<dd><tt>T.<a href="#StackExchangeError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="StackExchangeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="StackExchangeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="StackExchangeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="StackExchangeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="StackExchangeLazySequence">class <strong>StackExchangeLazySequence</strong></a>(<a href="__builtin__.html#list">__builtin__.list</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Provides&nbsp;a&nbsp;sequence&nbsp;which&nbsp;*can*&nbsp;contain&nbsp;extra&nbsp;data&nbsp;available&nbsp;on&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>.&nbsp;It&nbsp;is&nbsp;'lazy'&nbsp;in&nbsp;the&nbsp;sense&nbsp;that&nbsp;data&nbsp;is&nbsp;only&nbsp;fetched&nbsp;when<br>
required&nbsp;-&nbsp;not&nbsp;on&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;creation.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#StackExchangeLazySequence">StackExchangeLazySequence</a></dd>
<dd><a href="__builtin__.html#list">__builtin__.list</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="StackExchangeLazySequence-__init__"><strong>__init__</strong></a>(self, m_type, count, site, url, fetch<font color="#909090">=None</font>, collection<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="StackExchangeLazySequence-__len__"><strong>__len__</strong></a>(self)</dt></dl>

<dl><dt><a name="StackExchangeLazySequence-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetch,&nbsp;from&nbsp;the&nbsp;API,&nbsp;the&nbsp;data&nbsp;this&nbsp;sequence&nbsp;is&nbsp;meant&nbsp;to&nbsp;hold.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#list">__builtin__.list</a>:<br>
<dl><dt><a name="StackExchangeLazySequence-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__delslice__"><strong>__delslice__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__delslice__">__delslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__iadd__"><strong>__iadd__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__iadd__">__iadd__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__imul__"><strong>__imul__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__imul__">__imul__</a>(y)&nbsp;&lt;==&gt;&nbsp;x*=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__reversed__"><strong>__reversed__</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-__reversed__">__reversed__</a>()&nbsp;--&nbsp;return&nbsp;a&nbsp;reverse&nbsp;iterator&nbsp;over&nbsp;the&nbsp;<a href="__builtin__.html#list">list</a></tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__setslice__"><strong>__setslice__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeLazySequence-__setslice__">__setslice__</a>(i,&nbsp;j,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i:j]=y<br>
&nbsp;<br>
Use&nbsp;&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;L&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-append"><strong>append</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-append">append</a>(<a href="__builtin__.html#object">object</a>)&nbsp;--&nbsp;append&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;to&nbsp;end</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-count"><strong>count</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-extend"><strong>extend</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-extend">extend</a>(iterable)&nbsp;--&nbsp;extend&nbsp;<a href="__builtin__.html#list">list</a>&nbsp;by&nbsp;appending&nbsp;elements&nbsp;from&nbsp;the&nbsp;iterable</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-index"><strong>index</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-insert"><strong>insert</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-insert">insert</a>(index,&nbsp;<a href="__builtin__.html#object">object</a>)&nbsp;--&nbsp;insert&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;before&nbsp;index</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-pop"><strong>pop</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-pop">pop</a>([index])&nbsp;-&gt;&nbsp;item&nbsp;--&nbsp;remove&nbsp;and&nbsp;return&nbsp;item&nbsp;at&nbsp;index&nbsp;(default&nbsp;last).<br>
Raises&nbsp;IndexError&nbsp;if&nbsp;<a href="__builtin__.html#list">list</a>&nbsp;is&nbsp;empty&nbsp;or&nbsp;index&nbsp;is&nbsp;out&nbsp;of&nbsp;range.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-remove"><strong>remove</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-remove">remove</a>(value)&nbsp;--&nbsp;remove&nbsp;first&nbsp;occurrence&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-reverse"><strong>reverse</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-reverse">reverse</a>()&nbsp;--&nbsp;reverse&nbsp;*IN&nbsp;PLACE*</tt></dd></dl>

<dl><dt><a name="StackExchangeLazySequence-sort"><strong>sort</strong></a>(...)</dt><dd><tt>L.<a href="#StackExchangeLazySequence-sort">sort</a>(cmp=None,&nbsp;key=None,&nbsp;reverse=False)&nbsp;--&nbsp;stable&nbsp;sort&nbsp;*IN&nbsp;PLACE*;<br>
cmp(x,&nbsp;y)&nbsp;-&gt;&nbsp;-1,&nbsp;0,&nbsp;1</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#list">__builtin__.list</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x1E1FB230&gt;<dd><tt>T.<a href="#StackExchangeLazySequence-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="StackExchangeResultset">class <strong>StackExchangeResultset</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Defines&nbsp;an&nbsp;immutable,&nbsp;paginated&nbsp;resultset.&nbsp;This&nbsp;class&nbsp;can&nbsp;be&nbsp;used&nbsp;as&nbsp;a&nbsp;<a href="__builtin__.html#tuple">tuple</a>,&nbsp;but&nbsp;provides&nbsp;extended&nbsp;metadata&nbsp;as&nbsp;well,&nbsp;including&nbsp;methods<br>
to&nbsp;fetch&nbsp;the&nbsp;next&nbsp;page.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#StackExchangeResultset">StackExchangeResultset</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="StackExchangeResultset-extend_next"><strong>extend_next</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;new&nbsp;resultset&nbsp;containing&nbsp;data&nbsp;from&nbsp;this&nbsp;resultset&nbsp;AND&nbsp;from&nbsp;the&nbsp;next&nbsp;page.</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-fetch_extended"><strong>fetch_extended</strong></a>(self, page)</dt><dd><tt>Returns&nbsp;a&nbsp;new&nbsp;resultset&nbsp;containing&nbsp;data&nbsp;from&nbsp;this&nbsp;resultset&nbsp;AND&nbsp;from&nbsp;the&nbsp;specified&nbsp;page.</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-fetch_next"><strong>fetch_next</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;resultset&nbsp;of&nbsp;the&nbsp;data&nbsp;in&nbsp;the&nbsp;next&nbsp;page.</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-fetch_page"><strong>fetch_page</strong></a>(self, page)</dt><dd><tt>Returns&nbsp;a&nbsp;new&nbsp;resultset&nbsp;containing&nbsp;data&nbsp;from&nbsp;the&nbsp;specified&nbsp;page&nbsp;of&nbsp;the&nbsp;results.&nbsp;It&nbsp;re-uses&nbsp;all&nbsp;parameters&nbsp;that&nbsp;were&nbsp;passed&nbsp;in<br>
to&nbsp;the&nbsp;initial&nbsp;function&nbsp;which&nbsp;created&nbsp;the&nbsp;resultset.</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-reload"><strong>reload</strong></a>(self)</dt><dd><tt>Refreshes&nbsp;the&nbsp;data&nbsp;in&nbsp;the&nbsp;resultset&nbsp;with&nbsp;fresh&nbsp;API&nbsp;data.&nbsp;Note&nbsp;that&nbsp;this&nbsp;doesn't&nbsp;work&nbsp;with&nbsp;extended&nbsp;resultsets.</tt></dd></dl>

<hr>
Static methods defined here:<br>
<dl><dt><a name="StackExchangeResultset-__new__"><strong>__new__</strong></a>(cls, items, page, pagesize, build_info)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="StackExchangeResultset-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl>

<dl><dt><a name="StackExchangeResultset-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#StackExchangeResultset-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#StackExchangeResultset-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#StackExchangeResultset-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>

<dl><dt><a name="StackExchangeResultset-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#StackExchangeResultset-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Tag">class <strong>Tag</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="User">class <strong>User</strong></a>(<a href="stackexchange.html#JSONModel">JSONModel</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Describes&nbsp;a&nbsp;user&nbsp;on&nbsp;a&nbsp;StackExchange&nbsp;site.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#User">User</a></dd>
<dd><a href="stackexchange.html#JSONModel">JSONModel</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="User-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="User-__unicode__"><strong>__unicode__</strong></a>(self)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>transfer</strong> = ('display_name', 'reputation', 'email_hash', 'age', 'website_url', 'location', 'about_me', 'view_count', 'up_vote_count', 'down_vote_count')</dl>

<hr>
Methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="User-__init__"><strong>__init__</strong></a>(self, json, site, skip_ext<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="User-fetch"><strong>fetch</strong></a>(self)</dt><dd><tt>Fetches&nbsp;all&nbsp;the&nbsp;data&nbsp;that&nbsp;the&nbsp;model&nbsp;can&nbsp;describe,&nbsp;not&nbsp;just&nbsp;the&nbsp;attributes&nbsp;which&nbsp;were&nbsp;specified&nbsp;in&nbsp;the&nbsp;original&nbsp;response.</tt></dd></dl>

<hr>
Class methods inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><a name="User-partial"><strong>partial</strong></a>(cls, fetch_callback, site, populate)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Creates&nbsp;a&nbsp;partial&nbsp;description&nbsp;of&nbsp;the&nbsp;API&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;with&nbsp;the&nbsp;proviso&nbsp;that&nbsp;the&nbsp;full&nbsp;set&nbsp;of&nbsp;data&nbsp;can&nbsp;be&nbsp;fetched&nbsp;later.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#JSONModel">JSONModel</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="UserType">class <strong>UserType</strong></a>(<a href="stackexchange.html#Enumeration">Enumeration</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Denotes&nbsp;the&nbsp;status&nbsp;of&nbsp;a&nbsp;user&nbsp;on&nbsp;a&nbsp;site:&nbsp;whether&nbsp;it&nbsp;is&nbsp;Anonymous,&nbsp;Unregistered,&nbsp;Registered&nbsp;or&nbsp;a&nbsp;Moderator.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="stackexchange.html#UserType">UserType</a></dd>
<dd><a href="stackexchange.html#Enumeration">Enumeration</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>Anonymous</strong> = 0</dl>

<dl><dt><strong>Moderator</strong> = 3</dl>

<dl><dt><strong>Registered</strong> = 2</dl>

<dl><dt><strong>Unregistered</strong> = 1</dl>

<hr>
Class methods inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><a name="UserType-from_string"><strong>from_string</strong></a>(cls, text, typ<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl>

<hr>
Data descriptors inherited from <a href="stackexchange.html#Enumeration">Enumeration</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>MetaStackOverflow</strong> = 'api.meta.stackoverflow.com'<br>
<strong>ServerFault</strong> = 'api.serverfault.com'<br>
<strong>StackApps</strong> = 'api.stackapps.com'<br>
<strong>StackOverflow</strong> = 'api.stackoverflow.com'<br>
<strong>SuperUser</strong> = 'api.superuser.com'</td></tr></table>
</body></html>